package com.ovopark.firecar.bean;


import java.io.Serializable;

/**
 * websocket获取消息数据类
 * Created by cz on 2016/4/28.
 */
public class WSMessageResult implements Serializable{

    private String dataType;
    private GetMessageListObj msg;
    private int msgType;        //1000 新问题 1006已处理 1002系统通知
    private String srcSessionId;
    private String targetSessionId;

    public String getDataType() {
        return dataType;
    }

    public void setDataType(String dataType) {
        this.dataType = dataType;
    }

    public GetMessageListObj getMsg() {
        return msg;
    }

    public void setMsg(GetMessageListObj msg) {
        this.msg = msg;
    }

    public int getMsgType() {
        return msgType;
    }

    public void setMsgType(int msgType) {
        this.msgType = msgType;
    }

    public String getSrcSessionId() {
        return srcSessionId;
    }

    public void setSrcSessionId(String srcSessionId) {
        this.srcSessionId = srcSessionId;
    }

    public String getTargetSessionId() {
        return targetSessionId;
    }

    public void setTargetSessionId(String targetSessionId) {
        this.targetSessionId = targetSessionId;
    }

    @Override
    public String toString() {
        return "WSMessageResult{" +
                "dataType='" + dataType + '\'' +
                ", msg=" + msg +
                ", msgType='" + msgType + '\'' +
                ", srcSessionId='" + srcSessionId + '\'' +
                ", targetSessionId='" + targetSessionId + '\'' +
                '}';
    }
}
